package today.rocky.memory.domain.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Rocky
 * @version 1.0
 * @date 2020/5/23 13:34
 * @description
 */
@Data
public class FeedBackParam implements Serializable {

	@NotNull(message = "用户信息不完整")
	private Long userId;

	@NotNull(message = "用户信息不完整")
	private String nickname;

	@NotNull(message = "用户信息不完整")
	private String userIcon;

	@NotNull(message = "用户信息不完整")
	@Email(message = "email格式有误")
	private String email;

	@NotBlank(message = "标题不能为空")
	private String title;

	@NotBlank(message = "反馈截图不能为空")
	private String feedbackImg;

	@NotBlank(message = "反馈内容不能为空")
	private String content;

}
